﻿@model System.Data.DataTable
@if (Model != null)
{
    for (int i = 0; i < Model.Rows.Count;i++ )
    {
    <div class="admin_left_menu_ul_waper">
        <a href="@Model.Rows[i]["Url"].ToString()">
            <li class="admin_left_menu_li">
                <div class="admin_left_menu_li_conten">
                    <div class="admin_left_menu_li_conten_img">
                        <img src="~/Images/Upload/icon/@Model.Rows[i]["Icon"].ToString()" />
                    </div>
                    <div class="admin_left_menu_li_conten_titlte">
                        @Model.Rows[i]["Name"].ToString()
                    </div>
                    @{Html.RenderAction("CountMenuLoadChil", "Menu", new { area = "Admin", parent = Model.Rows[i]["Id"].ToString() });}
                </div>
            </li>
        </a>
        <div class="admin_left_menu_li_chirent">
            @{Html.RenderAction("ListMenuLoadChil", "Menu", new { area = "Admin", parent = Model.Rows[i]["Id"].ToString() }); }
        </div>
    </div>
    }
}